package com.team11.server.pojo.dto.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDate;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel("项目考勤记录表-->查询")
public class ProjectAttendanceVo {

    @ApiModelProperty(value = "院系")
    @TableField(exist = false)
    private String cDepartment;

    @ApiModelProperty(value = "专业")
    @TableField(exist = false)
    private String cMajor;

    @ApiModelProperty(value = "年级")
    @TableField(exist = false)
    private String cGrade;

    @ApiModelProperty(value = "班级")
    @TableField(exist = false)
    private String cClass;

    @ApiModelProperty(value = "项目组名称")
    @TableField(exist = false)
    private String kcName;

    @ApiModelProperty(value = "学号")
    @TableField(exist = false)
    private String sNumber;

    @ApiModelProperty(value = "考勤情况")
    @TableField(exist = false)
    private Integer aState;

    @ApiModelProperty(value = "学生姓名")
    @TableField(exist = false)
    private String sName;

    @ApiModelProperty(value = "开始时间")
    @TableField(exist = false)
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "Asia/Shanghai")
    private LocalDate startTime;

    @ApiModelProperty(value = "结束时间")
    @TableField(exist = false)
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "Asia/Shanghai")
    private LocalDate endTime;
}
